$minWidth: 843px;
$setHeight: 40px;
#userLayout.user-layout-wrapper {
  min-width: $minWidth;
  // width: expression((document.body.clientWidth) < 1000 ? "1000px": "100%");
  height: 100%;
  // overflow: scroll;
  position: relative;
  &.mobile {
    .container {
      .main {
        max-width: 368px;
        width: 98%;
      }
    }
  }

  .vPic {
    width: 33%;
    height: $setHeight;
    float: right !important;
    background: #ccc;
    img {
      cursor: pointer;
      vertical-align: middle;
    }
  }

  .phone-code {
    width: 33%;
    height: $setHeight;
    float: right !important;
    .el-button {
      border-radius: 0 4px 4px 0;
    }

    .el-button--primary {
      width: 100%;
      height: 100%;
      background-color: #3066dd;
      border-color: #3066dd;
      padding: 0;
    }
  }

  // 登录按钮样式
  .login-submit {
    width: 100%;
    height: 50px;
    margin-top: 30px;
    background-color: #3066dd;
    border: none;
    padding: 0;
  }

  .container {
    position: relative;
    // overflow: auto;
    min-height: 100vh;
    background-size: cover;
    .login-top-bg {
      display: flex;
      min-width: $minWidth;
      width: 100%;
      height: 378px;
      background: url(~@/assets/loginTitleBg.png);
    }
  }

  .login-main {
    min-width: $minWidth;
    // height: 427px;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    // @media screen and (min-width: 1000px) {
    //   .login-main {
    //     min-width: 100%;
    //     top: 0;
    //     left: 0;
    //     transform: none;
    //   }
    // }

    .el-input__inner{
      color: $c-bg-top;
    }
    .login-title {
      color: #fff;
      font-size: 25px;
      font-weight: bold;
      margin-bottom: 35px;
    }
    .el-card {
      height: 427px;
      border-radius: 15px;
      padding: 0 20px;
      .login-content {
        min-width: $minWidth;
        // height: 464px;
        margin: 10px auto;
        display: flex;
        // background-color: red;
        .login-img {
          width: 381px;
          background-size: cover;
          // background: url(~@/assets/loginFormBigImg.png);
        }
        .login-form-div {
          flex: 1;
          margin-left: 33px;
          // background: green;
          // background: yellow;
          .form-title {
            height: 50px;
            text-align: center;
            font-size: 20px;
            font-weight: bold;
          }
          .el-form-item__content {
            line-height: $setHeight;
          }

          ::v-deep {
            .el-input__inner {
              height: $setHeight;
            }
            .el-input__icon {
              line-height: $setHeight;
            }
            .enter-code {
              width: 64% !important;
              border-radius: 4px 0 0 4px;
              border-right: none;
            }
          }
        }
      }
    }
  }
}
